Leadtools.MedicalViewer Namespace : MedicalViewerCellCollection<MedicalViewerBaseCell> Class |
public class MedicalViewerCellCollection<MedicalViewerBaseCell> : Leadtools.RasterCollection<MedicalViewerBaseCell>, System.Collections.Generic.ICollection<MedicalViewerBaseCell>, System.Collections.Generic.IEnumerable<MedicalViewerBaseCell>, System.Collections.Generic.IList<MedicalViewerBaseCell>, System.Collections.IEnumerable
'Declaration Public Class MedicalViewerCellCollection(Of MedicalViewerBaseCell) Inherits Leadtools.RasterCollection(Of MedicalViewerBaseCell) Implements System.Collections.Generic.ICollection(Of MedicalViewerBaseCell), System.Collections.Generic.IEnumerable(Of MedicalViewerBaseCell), System.Collections.Generic.IList(Of MedicalViewerBaseCell), System.Collections.IEnumerable
'Usage Dim instance As MedicalViewerCellCollection(Of MedicalViewerBaseCell)
public sealed class MedicalViewerCellCollection<MedicalViewerBaseCell> : System.Collections.Generic.ICollection<MedicalViewerBaseCell>, Windows.Foundation.Collections.IIterable //In WinRT the IEnumerableinterface is replaced by IIterable <MedicalViewerBaseCell>, Windows.Foundation.Collections.IVector //In WinRT the IListinterface is replaced by IVector <MedicalViewerBaseCell>, System.Collections.IEnumerable
function Leadtools.MedicalViewer.MedicalViewerCellCollection()
generic<typename MedicalViewerBaseCell> public ref class MedicalViewerCellCollection : public Leadtools.RasterCollection<MedicalViewerBaseCell>, System.Collections.Generic.ICollection<MedicalViewerBaseCell>, System.Collections.Generic.IEnumerable<MedicalViewerBaseCell>, System.Collections.Generic.IList<MedicalViewerBaseCell>, System.Collections.IEnumerable
Public Sub MedicalViewerCellCollectionExample() Dim index As Integer Dim myForm As MedicalViewerForm = GetMedicalControl() Dim medicalViewer As MedicalViewer = myForm.Viewer medicalViewer.Cells.SelectAll(False) For index = 0 To medicalViewer.Cells.Count - 1 If (index Mod 2) = 0 Then medicalViewer.Cells(index).Selected = True End If Next index medicalViewer.Cells.FreezeSelected(True) myForm.ShowDialog() End Sub
public void MedicalViewerCellCollectionExample() { int index; MedicalViewerForm myForm = GetMedicalControl(); MedicalViewer medicalViewer = myForm.Viewer; medicalViewer.Cells.SelectAll(false); for (index = 0; index < medicalViewer.Cells.Count; index++) if ((index % 2) == 0) medicalViewer.Cells[index].Selected = true; medicalViewer.Cells.FreezeSelected(true); myForm.ShowDialog(); }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2